// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.AssetsOrderBaseDao;
import com.liuxinlong.modules.entity.AssetsOrderBase;
import com.liuxinlong.modules.mapper.AssetsOrderBaseMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * AssetsOrderBaseDaoImpl
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2024年01月02日
 */
@Service
public class AssetsOrderBaseDaoImpl extends ServiceImpl<AssetsOrderBaseMapper, AssetsOrderBase> implements AssetsOrderBaseDao {

    @Override
    public List<AssetsOrderBase> pageAssetsOrderBaseInfo(Map<String, Object> queryParam) {
        return baseMapper.pageAssetsOrderBaseInfo(queryParam);
    }

    @Override
    public int getAssetsOrderBaseInfoCount(Map<String, Object> queryParam) {
        return baseMapper.getAssetsOrderBaseInfoCount(queryParam);
    }

    @Override
    public List<AssetsOrderBase> getAssetsOrderBaseList(Map<String, Object> queryParam) {
        return baseMapper.getAssetsOrderBaseList(queryParam);
    }

    @Override
    public void updateAssetIdByNo(String assetsNo, String assetsId) {
        baseMapper.updateAssetIdByNo(assetsNo,assetsId);
    }

    @Override
    public Map<String,Map<String, String>> getAssetsOrderMap() {
        return baseMapper.getAssetsOrderMap();
    }

}
